export default [
  {
    name: 'development-guide',
    module: 'react',
    type: 'docs',
    dir: '../docs',
    map: {
      dark: './pages/dark',
      palette: './pages/palette',
      changelog: './pages/changelog/v2',
      overview: './pages/overview',
    },
    children: [
      'start',
      'dark',
      'palette',
      'i18n',
      'theme',
      'question',
      'changelog',
      'migrate_to_v2',
      'overview',
    ],
  },
  {
    name: 'components',
    module: 'react',
    type: 'components',
    dir: '../../components',
    children: [
      {
        name: 'general',
        map: {
          icon: './pages/icon',
        },
        items: ['button', 'icon', 'link', 'typography'],
      },
      {
        name: '_layout',
        items: ['divider', 'grid', 'layout', 'space'],
      },
      {
        name: 'data-show',
        items: [
          'avatar',
          'badge',
          'calendar',
          'card',
          'carousel',
          'collapse',
          'comment',
          'descriptions',
          'empty',
          'image',
          'list',
          'popover',
          'statistic',
          'table',
          'tabs',
          'tag',
          'timeline',
          'tooltip',
          'tree',
        ],
      },
      {
        name: 'data-input',
        items: [
          'auto-complete',
          'cascader',
          'checkbox',
          'date-picker',
          'form',
          'input',
          'input-tag',
          'input-number',
          'mentions',
          'radio',
          'rate',
          'select',
          'slider',
          'switch',
          'time-picker',
          'transfer',
          'tree-select',
          'upload',
        ],
      },
      {
        name: 'feedback',
        items: [
          'alert',
          'drawer',
          'message',
          'modal',
          'notification',
          'popconfirm',
          'progress',
          'result',
          'spin',
          'skeleton',
        ],
      },
      {
        name: 'nav',
        items: ['breadcrumb', 'dropdown', 'menu', 'page-header', 'pagination', 'steps'],
      },
      {
        name: 'other',
        items: ['affix', 'anchor', 'config-provider', 'back-top', 'resize-box', 'trigger'],
      },
    ],
  },
  {
    name: 'design-language',
    module: 'docs',
    type: 'spec',
    dir: '../docs_spec',
    children: ['introduce', 'design-values', 'design-philosophy', 'style-guideline'],
  },
  {
    name: 'component-usage',
    module: 'docs',
    type: 'spec',
    dir: '../docs_spec',
    children: [
      {
        name: 'general',
        items: ['link', 'typography'],
      },
      {
        name: '_layout',
        items: ['grid', 'layout', 'space'],
      },
      {
        name: 'data-show',
        items: [
          'avatar',
          'badge',
          'comment',
          'descriptions',
          'empty',
          'list',
          'popover',
          'table',
          'tabs',
          'tooltip',
        ],
      },
      {
        name: 'data-input',
        items: ['cascader', 'checkbox', 'input', 'radio', 'select', 'transfer', 'upload'],
      },
      {
        name: 'feedback',
        items: [
          'alert',
          'drawer',
          'message',
          'modal',
          'notification',
          'popconfirm',
          'progress',
          'skeleton',
        ],
      },
      {
        name: 'nav',
        items: ['breadcrumb', 'dropdown', 'menu'],
      },
      {
        name: 'other',
        items: ['config-provider'],
      },
    ],
  },
];
